package org.csmzxy.class2333;
import java.io.FileInputStream;
public class Example07 {
    public static void main(String[]args) throws Exception{
        //创建字符输入流
        FileInputStream in =new FileInputStream("src\\file\\test01.txt");
        int b; //用于记录每次读取的字节
        while (true){
            b = in.read();
            if(b==-1){
                break;
            }
            System.out.println(b);
        }
        in.close();
    }
}
